package br.com.alugargaragem.infrastructure.dao;

import java.io.Serializable;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import br.com.lambdacore.domain.model.EntityModel;
import br.com.lambdacore.persistence.dao.DAO;
import br.com.lambdacore.persistence.dao.JpaDAO;

public abstract class AlugaGaragemJpaDAO<T extends EntityModel<PK>, PK extends Serializable>
		extends JpaDAO<T, PK> implements DAO<T, PK> {

	@PersistenceContext
	private EntityManager entityManager;

	@Override
	protected EntityManager getEntityManager() {
		return this.entityManager;
	}

}
